package com.irs.service;


import java.util.List;

import com.irs.pojo.TbCategory;
import com.irs.util.ResultUtil;

public interface CategoryService {
	
	public List<TbCategory> selectAll();
	
	public ResultUtil selCategorys(Integer page, Integer limit);
	
	//根据Id查看分类
	public TbCategory selCategoryById(String id);
	
	//新增分类
	public void insCategoryService(TbCategory category);
	
	//校验分类名称
	public TbCategory selCategoryByname(String category);
	
	//根据id删除分类
	public void delCategoryById(String id);
	
	//批量id删除分类
	public void delCategorysService(String categoryStr);
	
	//根据id修改分类
	public void updateCategoryById(TbCategory category);
	
}
